<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>注册页面</title>
    <link rel="stylesheet" href="css/common.css">
    <link rel="stylesheet" href="css/login.css">
</head>

<body>
<img src="img/OIP-C.jpg"  alt="">
<!-- 导航栏 -->
<div class="nav">
    <span class="title">博客世界</span>
    <!-- 用来占据中间位置 -->
    <span class="spacer"></span>
    <!--        <a href="blog_list.html">主页</a>-->
    <!--        <a href="blog_edit.html">写博客</a>-->
    <!--        <a href="login.html">登陆</a>-->
    <!-- <a href="#">注销</a> -->
</div>
<script src="js/jquery.min.js"></script>
<!-- 要保证这几个 js 的加载在 jquery 之后. editor.md 依赖了 jquery -->
<script src="editor.md/lib/marked.min.js"></script>
<script src="editor.md/lib/prettify.min.js"></script>
<script src="editor.md/editormd.js"></script>
<script><!-- 版心 -->
function del() {
    $.ajax({
        type: 'get',
        url: 'blog/del' + location.search,
        success: function(body) {
            if (body.blogid && body.blogid > 0) {
                // 删除成功!!
                location.assign('blog_list.html');
            } else {
                location.assign('delerror.html');
            }
        }
    });
}

 del();
</script>
</body>

</html>